package com.boluo.custom.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.boluo.common.annotation.Excel;
import com.boluo.common.core.domain.BaseEntity;

/**
 * 客户信息对象 cus_info
 * 
 * @author boluo
 * @date 2023-04-17
 */
public class CusInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String cusName;

    /** 电话 */
    @Excel(name = "电话")
    private String cusPhone;

    /** 录入时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "录入时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date enterDate;

    /** 录入人id */
    @Excel(name = "录入人id")
    private Long enterPeopleId;

    /** 性别 */
    @Excel(name = "性别")
    private Integer cusSex;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCusName(String cusName) 
    {
        this.cusName = cusName;
    }

    public String getCusName() 
    {
        return cusName;
    }
    public void setCusPhone(String cusPhone) 
    {
        this.cusPhone = cusPhone;
    }

    public String getCusPhone() 
    {
        return cusPhone;
    }
    public void setEnterDate(Date enterDate) 
    {
        this.enterDate = enterDate;
    }

    public Date getEnterDate() 
    {
        return enterDate;
    }
    public void setEnterPeopleId(Long enterPeopleId) 
    {
        this.enterPeopleId = enterPeopleId;
    }

    public Long getEnterPeopleId() 
    {
        return enterPeopleId;
    }
    public void setCusSex(Integer cusSex) 
    {
        this.cusSex = cusSex;
    }

    public Integer getCusSex() 
    {
        return cusSex;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cusName", getCusName())
            .append("cusPhone", getCusPhone())
            .append("enterDate", getEnterDate())
            .append("enterPeopleId", getEnterPeopleId())
            .append("cusSex", getCusSex())
            .toString();
    }
}
